package com.htudata.live.pojo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Flow implements Serializable {
  private static final long serialVersionUID = 9014701345731861738L;
  
  private String flowId;
  
  private String name;
  
  private String descpt;
  
  private int status;
  
  private int orderNum;
  
  private String boardType;
  
  private LocalDateTime createTime;
  
  private LocalDateTime updateTime;
  
  private int dataTypeId;
  
  private long nodexIndex;

  public boolean equals(Object o) {
    if (o == this)
      return true; 
    if (!(o instanceof Flow))
      return false; 
    Flow other = (Flow)o;
    if (!other.canEqual(this))
      return false; 
    Object this$flowId = getFlowId(), other$flowId = other.getFlowId();
    if ((this$flowId == null) ? (other$flowId != null) : !this$flowId.equals(other$flowId))
      return false; 
    Object this$name = getName(), other$name = other.getName();
    if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
      return false; 
    Object this$descpt = getDescpt(), other$descpt = other.getDescpt();
    if ((this$descpt == null) ? (other$descpt != null) : !this$descpt.equals(other$descpt))
      return false; 
    if (getStatus() != other.getStatus())
      return false; 
    if (getOrderNum() != other.getOrderNum())
      return false; 
    Object this$boardType = getBoardType(), other$boardType = other.getBoardType();
    if ((this$boardType == null) ? (other$boardType != null) : !this$boardType.equals(other$boardType))
      return false; 
    Object this$createTime = getCreateTime(), other$createTime = other.getCreateTime();
    if ((this$createTime == null) ? (other$createTime != null) : !this$createTime.equals(other$createTime))
      return false; 
    Object this$updateTime = getUpdateTime(), other$updateTime = other.getUpdateTime();
    return ((this$updateTime == null) ? (other$updateTime != null) : !this$updateTime.equals(other$updateTime)) ? false : ((getDataTypeId() != other.getDataTypeId()) ? false : (!(getNodexIndex() != other.getNodexIndex())));
  }
  
  protected boolean canEqual(Object other) {
    return other instanceof Flow;
  }

}
